package cn.pro.dao;

import cn.pro.entity.ProRole;
import cn.pro.entity.vo.ProRoleVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface ProRoleDao {
    void insert(ProRole proRole);
    ProRoleVo selectById(@Param("id") String id);
    void delById(@Param("id") String id);
    void updateById(ProRole proRole);

    List<ProRoleVo> selectList(ProRole proRole);
}